home *** CD-ROM | disk | FTP | other *** search
/ The Beauty of Chaos / Beauty of Chaos, The - Vol. 1 (1995)(Schatztruhe)[!][Amiga-Mac-PC].iso / mac / gifconverter2.37.cpt.hqx / GIFConverter 2.3.7.rsrc / bin.rsrc_CODE_57_WriteJPEG.txt < prev    next >
Text File  |  1994-01-29  |  16KB  |  265 lines

  1. # near model CODE resource
  2. # jump table entries: 21280-21280 (1 of them)
  3. 00000000  4E56 0000                link       A6, 0
  4. 00000004  4267                     clr.w      -[A7]
  5. 00000006  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  6. 0000000A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  7. 0000000E  2F2D CEB8                move.l     -[A7], [A5 - 0x3148]
  8. 00000012  4EAD 4EEA                jsr        [A5 + 0x4EEA /* export_2521 */]
  9. 00000016  3D5F 0010                move.w     [A6 + 0x10], [A7]+
  10. 0000001A  4E5E                     unlink     A6
  11. 0000001C  205F                     movea.l    A0, [A7]+
  12. 0000001E  504F                     addq.w     A7, 8
  13. 00000020  4ED0                     jmp        [A0]
  14. 00000022  8C49                     or.w       D6, A1
  15. 00000024  4A47                     tst.w      D7
  16. 00000026  5752                     subq.w     [A2], 3
  17. 00000028  4954                     chk.w      D4, [A4]
  18. 0000002A  4544                     chk.w      D2, D4
  19. 0000002C  4154                     chk.w      D0, [A4]
  20. 0000002E  4100                     .invalid   0, D0 // invalid opcode 4 with b == 4
  21. 00000030  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  22. 00000034  FFFC                     .invalid   <<F/7/7>>
  23. 00000036  4AAE 0010                tst.l      [A6 + 0x10]
  24. 0000003A  6608                     bne        +0xA /* 00000044 */
  25. 0000003C  3D7C FFFF 0014           move.w     [A6 + 0x14], 0xFFFF
  26. 00000042  601C                     bra        +0x1E /* 00000060 */
  27. label00000044:
  28. 00000044  2D6E 0008 FFFC           move.l     [A6 - 0x4], [A6 + 0x8]
  29. 0000004A  4267                     clr.w      -[A7]
  30. 0000004C  486E 000C                pea.l      [A6 + 0xC]
  31. 00000050  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  32. 00000054  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  33. 00000058  4EAD 4EEA                jsr        [A5 + 0x4EEA /* export_2521 */]
  34. 0000005C  3D5F 0014                move.w     [A6 + 0x14], [A7]+
  35. label00000060:
  36. 00000060  4E5E                     unlink     A6
  37. 00000062  205F                     movea.l    A0, [A7]+
  38. 00000064  DEFC 000C                add.w      A7, 0xC
  39. 00000068  4ED0                     jmp        [A0]
  40. 0000006A  8D4A 5045                pack       -[A6], -[A2], 0x5045
  41. 0000006E  4757                     chk.w      D3, [A7]
  42. 00000070  5249                     addq.w     A1, 1
  43. 00000072  5445                     addq.w     D5, 2
  44. 00000074  4441                     neg.w      D1
  45. 00000076  5441                     addq.w     D1, 2
  46. 00000078  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  47. 0000007C  0000 2F0C                ori.b      D0, 0xC
  48. 00000080  286E 0008                movea.l    A4, [A6 + 0x8]
  49. 00000084  2F2C 0016                move.l     -[A7], [A4 + 0x16]
  50. 00000088  4EAD 4F7A                jsr        [A5 + 0x4F7A /* export_2539 */]
  51. 0000008C  42A7                     clr.l      -[A7]
  52. 0000008E  2F2C FFAC                move.l     -[A7], [A4 - 0x54]
  53. 00000092  4EAD 37C2                jsr        [A5 + 0x37C2 /* export_1780 */]
  54. 00000096  4A9F                     tst.l      [A7]+
  55. 00000098  42A7                     clr.l      -[A7]
  56. 0000009A  2F2C FFA8                move.l     -[A7], [A4 - 0x58]
  57. 0000009E  4EAD 37CA                jsr        [A5 + 0x37CA /* export_1781 */]
  58. 000000A2  4A9F                     tst.l      [A7]+
  59. 000000A4  285F                     movea.l    A4, [A7]+
  60. 000000A6  4E5E                     unlink     A6
  61. 000000A8  205F                     movea.l    A0, [A7]+
  62. 000000AA  DEFC 000A                add.w      A7, 0xA /* '\n' */
  63. 000000AE  4ED0                     jmp        [A0]
  64. 000000B0  9048                     sub.w      D0, A0
  65. 000000B2  444C                     neg.w      A4
  66. 000000B4  5752                     subq.w     [A2], 3
  67. 000000B6  4954                     chk.w      D4, [A4]
  68. 000000B8  454A                     chk.w      D2, A2
  69. 000000BA  5045                     addq.w     D5, 8
  70. 000000BC  4746                     chk.w      D3, D6
  71. 000000BE  494C                     chk.w      D4, A4
  72. 000000C0  4500                     .invalid   2, D0 // invalid opcode 4 with b == 4
  73. 000000C2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  74. // begin alternate branch 000000C4-000000C8
  75. fn000000C4:
  76. 000000C4  4E56 FFFA                link       A6, -0x0006
  77. // end alternate branch 000000C4-000000C8
  78. fn000000C4: // (misaligned)
  79. 000000C6  FFFA                     .invalid   <<F/7/7>>
  80. 000000C8  1D7C 00FF FFFF           move.b     [A6 - 0x1], 0xFF
  81. 000000CE  7001                     moveq.l    D0, 0x01
  82. 000000D0  2D40 FFFA                move.l     [A6 - 0x6], D0
  83. 000000D4  4267                     clr.w      -[A7]
  84. 000000D6  486E FFFA                pea.l      [A6 - 0x6]
  85. 000000DA  486E FFFF                pea.l      [A6 - 0x1]
  86. 000000DE  206E 0008                movea.l    A0, [A6 + 0x8]
  87. 000000E2  2F28 0012                move.l     -[A7], [A0 + 0x12]
  88. 000000E6  4EAD 4EEA                jsr        [A5 + 0x4EEA /* export_2521 */]
  89. 000000EA  4EAD 38F2                jsr        [A5 + 0x38F2 /* export_1818 */]
  90. 000000EE  1D6E 000D FFFF           move.b     [A6 - 0x1], [A6 + 0xD]
  91. 000000F4  7001                     moveq.l    D0, 0x01
  92. 000000F6  2D40 FFFA                move.l     [A6 - 0x6], D0
  93. 000000FA  4267                     clr.w      -[A7]
  94. 000000FC  486E FFFA                pea.l      [A6 - 0x6]
  95. 00000100  486E FFFF                pea.l      [A6 - 0x1]
  96. 00000104  206E 0008                movea.l    A0, [A6 + 0x8]
  97. 00000108  2F28 0012                move.l     -[A7], [A0 + 0x12]
  98. 0000010C  4EAD 4EEA                jsr        [A5 + 0x4EEA /* export_2521 */]
  99. 00000110  4EAD 38F2                jsr        [A5 + 0x38F2 /* export_1818 */]
  100. 00000114  4E5E                     unlink     A6
  101. 00000116  205F                     movea.l    A0, [A7]+
  102. 00000118  5C4F                     addq.w     A7, 6
  103. 0000011A  4ED0                     jmp        [A0]
  104. 0000011C  8B57                     or.w       [A7], D5
  105. 0000011E  5249                     addq.w     A1, 1
  106. 00000120  5445                     addq.w     D5, 2
  107. 00000122  4D41                     chk.w      D6, D1
  108. 00000124  524B                     addq.w     A3, 1
  109. 00000126  4552                     chk.w      D2, [A2]
  110. 00000128  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  111. export_2660: // at 0000012A (misaligned)
  112. 0000012C  FF90                     .invalid   <<F/6/7>>
  113. 0000012E  48E7 0108                movem.l    -[A7], D7,A4
  114. 00000132  1F3C 0001                move.b     -[A7], 0x1
  115. 00000136  2F2E 0016                move.l     -[A7], [A6 + 0x16]
  116. 0000013A  4EAD 4F72                jsr        [A5 + 0x4F72 /* export_2538 */]
  117. 0000013E  7000                     moveq.l    D0, 0x00
  118. 00000140  2D40 FFA8                move.l     [A6 - 0x58], D0
  119. 00000144  7000                     moveq.l    D0, 0x00
  120. 00000146  2D40 FFAC                move.l     [A6 - 0x54], D0
  121. 0000014A  486E FFBC                pea.l      [A6 - 0x44]
  122. 0000014E  487A FF2A                pea.l      [PC - 0xD6 /* 0000007A, value 0x4E560000 'NV\0\0', cstring "NV" */]
  123. 00000152  2F0E                     move.l     -[A7], A6
  124. 00000154  4EAD 3912                jsr        [A5 + 0x3912 /* export_1822 */]
  125. 00000158  206E 0016                movea.l    A0, [A6 + 0x16]
  126. 0000015C  2050                     movea.l    A0, [A0]
  127. 0000015E  2268 001E                movea.l    A1, [A0 + 0x1E]
  128. 00000162  2251                     movea.l    A1, [A1]
  129. 00000164  41EE FFB4                lea.l      A0, [A6 - 0x4C]
  130. 00000168  5C89                     addq.l     A1, 6
  131. 0000016A  7003                     moveq.l    D0, 0x03
  132. label0000016C:
  133. 0000016C  30D9                     move.w     [A0]+, [A1]+
  134. 0000016E  51C8 FFFC                dbf        D0, -0x6 /* 0000016C */
  135. 00000172  102E 000C                move.b     D0, [A6 + 0xC]
  136. 00000176  6700 00B2                beq        +0xB4 /* 0000022A */
  137. 0000017A  2F00                     move.l     -[A7], D0
  138. 0000017C  4267                     clr.w      -[A7]
  139. 0000017E  4EAD 3B52                jsr        [A5 + 0x3B52 /* export_1894 */]
  140. 00000182  121F                     move.b     D1, [A7]+
  141. 00000184  201F                     move.l     D0, [A7]+
  142. 00000186  C001                     and.b